package com.csdj.dao;

import com.csdj.entity.TransactionRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TransactionRecordMapper {
    void transfer(TransactionRecord transactionRecord);

    List<TransactionRecord> findRecord(@Param("index")int index, @Param("pageSize")int pageSize, @Param("startDate")String startDate, @Param("endDate")String endDate);

    int count(@Param("startDate")String startDate,@Param("endDate")String endDate);
}
